<#include "../common/header.html">

<body class="skin-blue fixed sidebar-mini" style="height: auto; min-height: 100%;">
<div class="wrapper" style="height: auto; min-height: 100%;">
    <#assign page_tab="user">
    <#include "user_menu.html">

    <!--右侧内容 开始-->
    <div id="admin_right" class="content-wrapper">
        <div class="breadcrumbs" id="breadcrumbs">
            <ul class="breadcrumb">
                <li>
                    <i class="home-icon fa fa-home"></i>
                    <a href="#">会员</a>
                </li>
                <li>
                    <a href="#">商户管理</a>
                </li>
                <li class="active">商户列表</li>
            </ul>
        </div>

        <div class="content">
            <table class="table list-table">
                <colgroup>
                    <col width="35px" />
                    <col width="110px" />
                    <col />
                    <col width="120px" />
                    <col width="110px" />
                    <col width="70px" />
                    <col width="70px" />
                    <col width="70px" />
                    <col width="90px" />
                    <col width="110px"/>
                    <col width="80px" />
                </colgroup>
                <caption>
                    <form name="searchseller" action="/index.php" method="get" class="pull-right form-inline" style="margin:0">
                        <input type='hidden' name='controller' value='member' />
                        <input type='hidden' name='action' value='seller_list' />
                        <select class="form-control" name="search[like]">
                            <option value="seller_name">登录名</option>
                            <option value="true_name">真实名称</option>
                            <option value="mobile">手机</option>
                            <option value="email">Email</option>
                        </select>
                        <input class="form-control" name="search[likeValue]" type="text" value=""/>

                        <button class="btn btn-default" type="submit">
                            <i class="fa fa-search"></i>搜 索
                        </button>
                    </form>

                    <a class="btn btn-default" href='/member/seller_edit'>
                        <i class="fa fa-plus"></i>添加商户
                    </a>
                    <a class="btn btn-default" onclick="selectAll('id[]')">
                        <i class="fa fa-check"></i>全选
                    </a>
                    <a class="btn btn-default" onclick="delModel({'form':'seller_list',msg:'确定要删除所选中的商户吗？'})">
                        <i class="fa fa-close"></i>批量删除
                    </a>
                    <a class="btn btn-default" href='/member/seller_recycle_list'>
                        <i class="fa fa-trash"></i>回收站
                    </a>
                </caption>
                <thead>
                <tr>
                    <th></th>
                    <th>登录用户名</th>
                    <th>真实名称</th>
                    <th>座机</th>
                    <th>移动电话</th>
                    <th>VIP</th>
                    <th>销量</th>
                    <th>评分</th>
                    <th>状态</th>
                    <th>注册日期</th>
                    <th>操作</th>
                </tr>
                </thead>
                <form action="/member/seller_del" method="post" name="seller_list" onsubmit="return checkboxCheck('id[]','尚未选中任何记录！')">
                    <tbody>
                    <tr>
                        <td><input name="id[]" type="checkbox" value="16" /></td>
                        <td title="root">root</td>
                        <td title="chen1">chen1</td>
                        <td title="010-88888888">010-88888888</td>
                        <td title="13000000000">13000000000</td>
                        <td>否</td>
                        <td>0 件</td>
                        <td>0 分</td>
                        <td>
                            <select class="form-control input-sm" onchange="changeStatus(16,this)">
                                <option value="0" >正常</option>
                                <option value="1" selected="selected">待审核</option>
                            </select>
                        </td>
                        <td title="2018-07-08 14:40:48">2018-07-08 14:40:48</td>
                        <td>
                            <a href="/member/seller_edit/id/16"><i class='operator fa fa-edit'></i></a>
                            <a onclick="delModel({link:'/member/seller_del/id/16'})"><i class='operator fa fa-close'></i></a>
                        </td>
                    </tr>
                    <tr>
                        <td><input name="id[]" type="checkbox" value="15" /></td>
                        <td title="哇哈哈">哇哈哈</td>
                        <td title="li">li</td>
                        <td title="8999881">8999881</td>
                        <td title="13920002992">13920002992</td>
                        <td>否</td>
                        <td>0 件</td>
                        <td>0 分</td>
                        <td>
                            <select class="form-control input-sm" onchange="changeStatus(15,this)">
                                <option value="0" selected="selected">正常</option>
                                <option value="1" >待审核</option>
                            </select>
                        </td>
                        <td title="2018-07-05 16:27:18">2018-07-05 16:27:18</td>
                        <td>
                            <a href="/member/seller_edit/id/15"><i class='operator fa fa-edit'></i></a>
                            <a onclick="delModel({link:'/member/seller_del/id/15'})"><i class='operator fa fa-close'></i></a>
                        </td>
                    </tr>
                    <tr>
                        <td><input name="id[]" type="checkbox" value="14" /></td>
                        <td title="ares111">ares111</td>
                        <td title="a驾校">a驾校</td>
                        <td title="0791-8222222">0791-8222222</td>
                        <td title="15107900000">15107900000</td>
                        <td>是</td>
                        <td>0 件</td>
                        <td>0 分</td>
                        <td>
                            <select class="form-control input-sm" onchange="changeStatus(14,this)">
                                <option value="0" >正常</option>
                                <option value="1" selected="selected">待审核</option>
                            </select>
                        </td>
                        <td title="2016-04-23 17:02:08">2016-04-23 17:02:08</td>
                        <td>
                            <a href="/member/seller_edit/id/14"><i class='operator fa fa-edit'></i></a>
                            <a onclick="delModel({link:'/member/seller_del/id/14'})"><i class='operator fa fa-close'></i></a>
                        </td>
                    </tr>
                    <tr>
                        <td><input name="id[]" type="checkbox" value="13" /></td>
                        <td title="步行者">步行者</td>
                        <td title="华源厨具">华源厨具</td>
                        <td title="037763113199">037763113199</td>
                        <td title="18603779615">18603779615</td>
                        <td>否</td>
                        <td>0 件</td>
                        <td>0 分</td>
                        <td>
                            <select class="form-control input-sm" onchange="changeStatus(13,this)">
                                <option value="0" >正常</option>
                                <option value="1" selected="selected">待审核</option>
                            </select>
                        </td>
                        <td title="2016-04-22 19:14:25">2016-04-22 19:14:25</td>
                        <td>
                            <a href="/member/seller_edit/id/13"><i class='operator fa fa-edit'></i></a>
                            <a onclick="delModel({link:'/member/seller_del/id/13'})"><i class='operator fa fa-close'></i></a>
                        </td>
                    </tr>
                    <tr>
                        <td><input name="id[]" type="checkbox" value="1" /></td>
                        <td title="admin">admin</td>
                        <td title="北京国贸大厦科技公司">北京国贸大厦科技公司</td>
                        <td title="0531-88888888">0531-88888888</td>
                        <td title="15088888888">15088888888</td>
                        <td>是</td>
                        <td>0 件</td>
                        <td>0 分</td>
                        <td>
                            <select class="form-control input-sm" onchange="changeStatus(1,this)">
                                <option value="0" selected="selected">正常</option>
                                <option value="1" >待审核</option>
                            </select>
                        </td>
                        <td title="2015-06-16 08:29:10">2015-06-16 08:29:10</td>
                        <td>
                            <a href="/member/seller_edit/id/1"><i class='operator fa fa-edit'></i></a>
                            <a onclick="delModel({link:'/member/seller_del/id/1'})"><i class='operator fa fa-close'></i></a>
                        </td>
                    </tr>
                    </tbody>
                </form>
            </table>
        </div>

        <style>
            .pagination {
                display: inline-block;
                padding-left: 0;
                margin: 10px 0;
                border-radius: 4px;
            }
            .pagination > li {
                display: inline !important;
                width:auto !important;
                height:auto !important;
                border:none !important;
                margin:0 !important;
                padding: 0 !important;
            }
            .pagination > li > a {
                position: relative !important;
                float: left !important;
                padding: 6px 12px !important;
                line-height: 1.42857143 !important;
                text-decoration: none !important;
                color: #337ab7;
                background-color: #fff;
                border: 1px solid #ddd;
                margin-left: -1px !important;
                width:auto !important;
                height:auto !important;
            }
            .pagination > li:first-child > a {
                margin-left: 0 !important;
                border-bottom-left-radius: 4px !important;
                border-top-left-radius: 4px !important;
            }
            .pagination > li:last-child > a {
                border-bottom-right-radius: 4px !important;
                border-top-right-radius: 4px !important;
            }
            .pagination > li > a:hover,
            .pagination > li > a:focus {
                z-index: 2 !important;
                color: #23527c;
                background-color: #eeeeee;
                border-color: #ddd !important;
            }
            .pagination > .active > a,
            .pagination > .active > a:hover,
            .pagination > .active > a:focus {
                z-index: 3 !important;
                color: #fff;
                background-color: #337ab7;
                border-color: #337ab7;
                cursor: default !important;
            }
        </style><div style='clear:both'><ul class='pagination'><li><a href='/member/seller_list?page=1' >首页</a></li><li class='active'><a href='/member/seller_list?page=1' >1</a></li><li><a href='/member/seller_list?page=1' >尾页</a></li><li><a>当前第1页/共1页</a></li></ul></div>
    </div>
    <!--右侧内容 结束-->
</div>
</body>
</html>